package com.monitor.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.List;

@TableName("erp_service_project")
public class ErpServiceProject extends Model<ErpServiceProject> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String  orderId;
    private Integer userId;
    private  Double moneySum;
    private  String date;
    private String  payWay;
    private Integer discount;
    private Integer checkState;
    private String  startDate;
    private String  endDate;
    private String  checkPeople;
    private String  bz;
    private String  payId;
    private String  tradeNo;
    private  Double moneyReal;
    private  Integer shopTypeId;
    private transient List<ErpProject> erpProjects;
    //大车数量
    private transient Integer number;
    //客户名称
    private transient String custName;
    //客户编码
    private  transient  Integer custCode;
    //管理用户
    private  transient Integer topNumber;
    //操作用户
    private  transient Integer caoNumber;
    //业务用户
    private transient  Integer yeNumber;

    private  transient  List<ErpProjectInService> erpProjectInServices;

    public List<ErpProjectInService> getErpProjectInServices() {
        return erpProjectInServices;
    }

    public void setErpProjectInServices(List<ErpProjectInService> erpProjectInServices) {
        this.erpProjectInServices = erpProjectInServices;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public Integer getCustCode() {
        return custCode;
    }

    public void setCustCode(Integer custCode) {
        this.custCode = custCode;
    }

    public Integer getTopNumber() {
        return topNumber;
    }

    public void setTopNumber(Integer topNumber) {
        this.topNumber = topNumber;
    }

    public Integer getCaoNumber() {
        return caoNumber;
    }

    public void setCaoNumber(Integer caoNumber) {
        this.caoNumber = caoNumber;
    }

    public Integer getYeNumber() {
        return yeNumber;
    }

    public void setYeNumber(Integer yeNumber) {
        this.yeNumber = yeNumber;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public List<ErpProject> getErpProjects() {
        return erpProjects;
    }

    public void setErpProjects(List<ErpProject> erpProjects) {
        this.erpProjects = erpProjects;
    }

    public Integer getShopTypeId() {
        return shopTypeId;
    }

    public void setShopTypeId(Integer shopTypeId) {
        this.shopTypeId = shopTypeId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Double getMoneySum() {
        return moneySum;
    }

    public void setMoneySum(Double moneySum) {
        this.moneySum = moneySum;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }

    public Integer getDiscount() {
        return discount;
    }

    public void setDiscount(Integer discount) {
        this.discount = discount;
    }

    public Integer getCheckState() {
        return checkState;
    }

    public void setCheckState(Integer checkState) {
        this.checkState = checkState;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getCheckPeople() {
        return checkPeople;
    }

    public void setCheckPeople(String checkPeople) {
        this.checkPeople = checkPeople;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getPayId() {
        return payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public Double getMoneyReal() {
        return moneyReal;
    }

    public void setMoneyReal(Double moneyReal) {
        this.moneyReal = moneyReal;
    }

    @Override
    protected Serializable pkVal() {
        return this.id=id;
    }
}
